package cn.qzzg.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 锅次表
 *
 * @TableName pot_time
 */
@TableName(value = "pot_time")
@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class PotTime implements Serializable {
    /**
     * 锅次ID
     */
    @TableId(value = "pot_time_id", type = IdType.AUTO)
    private Integer potTimeId;

    /**
     * 规格
     */
    @TableField(value = "specifications")
    private Integer specifications;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    /**
     * 状态
     */
    @TableField(value = "pot_status", fill = FieldFill.INSERT)
    private Integer potStatus;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}